
<%
	HttpSession httpSession = request.getSession();
	Employee employee = (Employee) session.getAttribute("user");
	if (employee == null || employee.getRole() == null) {
		response.sendRedirect("errorLogin.jsp");
	}
%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page import="com.msti.entity.Employee"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h2 align="center">hello admin</h2><br/>
<a href="createCourse.jsp">ADD Course</a><br/>
<a href="loadCourses.do">ADD Batch</a><br/>
<a href="printCertificate.jsp">Print Certificate</a><br/>
<a href="editBatches.do">Edit Batch</a><br/>
<a href="editCourses.do">Edit Courses</a><br/>
<a href="addUser.jsp">Add User</a><br/>
<a href="logout.do">logout</a>
</body>
</html>